<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>

<body>

 
      <table align="center">
      <?php foreach($query->result() as $row) : ?>
<form method="post" action="<?=base_url()?>index.php/update/update_news">
<input type="hidden" name="newsid" value="<?=$row->newsid ?>" />




       
        <tr>
          <td height="25" align="center">标题：<input type="text" name="title"  value="<?=$row->title?>" /></td>
        </tr>
        <tr>
        	<td align="center">内容：
           
            <textarea name="content" cols="17" rows="17"><?=$row->content ?></textarea>
            </td>
        </tr>
        <tr><td align="center"><input type="submit" value="ok"/></td></tr>
        </form>
<?php endforeach; ?>
      </table>
  
</body>
</html>

